Component({
  data: {
    imgUrls: ["/static/images/car.svg", "/static/images/car2.svg", "/static/images/car3.svg"],
  },
  properties: {
    price: { // 属性名
      type: String,
      value: '100'
    }
  },
  methods: {
    onSubmit: function () {
      var myEventDetail = {} // detail对象，提供给事件监听函数
      var myEventOption = {} // 触发事件的选项
      this.triggerEvent('pageSubmit', myEventDetail, myEventOption)
    }
    /*onSubmit(){
      console.log("onSubmit")
    }*/
  }
})